package bam.service.impl;

import bam.dao.AppSystemDao;
import bam.entityBam.Zzroleuser;
import bam.service.AppSystemService;
import bam.util.PagingUtil;

public class AppSystemServiceImpl implements AppSystemService {
	private AppSystemDao appSystemDao;
	public void selectSystemUser(PagingUtil<Zzroleuser> pu, Zzroleuser zzroleuser) throws Exception {
		if(zzroleuser==null){
			zzroleuser  = new Zzroleuser();
		}
		if(zzroleuser.getPhone()==null){
			zzroleuser.setPhone("");
		}
		appSystemDao.selectSystemUser(pu,zzroleuser);
	}




	public Zzroleuser selectRoleuser(int userid) throws Exception {
		return appSystemDao.selectRoleuser(userid);
	}

	
	
	
	
	
	
	public void setAppSystemDao(AppSystemDao appSystemDao) {
		this.appSystemDao = appSystemDao;
	}




}
